package com.human.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.human.entity.Contract;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.human.entity.Emprp;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jzq
 * @since 2023-03-05
 */
@Mapper
public interface ContractMapper extends BaseMapper<Contract> {

    IPage<Contract> getContractAndEmp(IPage<Contract> page, String name);

    int updateContract(Contract contract);

}
